home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lantools
/
lanserv
/
lanhow2.doc
< prev
next >
Wrap
Text File
|
1989-06-15
|
7KB
|
110 lines
This is an effort to assist those that have problems with their Lantastic
networks loosing the connection to the server. I've tested this on my system
and it works very well. It does NOT drop carrier when it reestablishes the
server connection. If a caller is online, the odds are that they may not notice
what has happened. ( If you have your callers enter their password when they
return from a door, they will be displayed that command when the server connect is
is reestablished.
The only problem with this setup, is that disk read failures cannot be
trapped while a caller is in a game door. The door modules do not give error
level returns when a disk read failure occurs. I will see if I can figure out
way around this, but it does not look promising.
I have supplied a copy of my autoexec.bat file, my board.bat file and the
two files that are necessary to reestablish the server connection.
I used batch files and two public domain programs to keep this as
simple as possible.I feel that by doing it this way, it will allow you to
easily customize it for your particular setup.
I run only a single dedicated file server. There should be no problem
for you if you run more than one server.....simply use the MARKNET utility
to mark the position of SERVER.EXE in memory, and then make sure you release
it prior to releasing the REDIR.EXE program.
Look closely at how the autoexec.bat file uses the MARKNET to save the
proper position in memory prior to loading the REDIR program. You must use the
MARKNET utility as it saves DOS memory chains and com port settings so that
the system will be properly reset. The MARKNET and RELNET programs are
contained within the TSRCOM128.ZIP file that is in this file.
Also, note the use of the DREADY.COM program to detect the status of the
server drive. This utility returns an error level of 1 when the server drive
is not detected. This allows the error level to be trapped and acted upon. You
will note that if the server drive is detected, an error level of 0 is returned
and the batch file ignores this and continues on about its business. This
single testing for only an errorlevel of 1 keeps things as simple as possible.
The DREADY.COM program is also included within this .ZIP file so that you will
not have to look for it in case you do nothave it on your system.
Substitute the proper drive letters and system parms for the one in my
autoexec.bat file. Also, and most importantly.....if you are the type to run
a lot of TSRs, there is no telling what may happen when you try this restart
batch file out on your system. To be safe, MARKNET EACH and EVERY TSR
individually, and then RELEASE them in proper order. After that you should
reload them in the proper order to insure your system will operate properly.
I strongly suggest you read the docs for the MARKNET and RELNET utilities.
The TSRCOM128.ZIP contains the complete set of files that accompany the
MARKENT and RELENT utilities. The docs will help you to understand that is
going on while the batch files are running.
The reason for releasing the REDIR.EXE program is because when a server
conection is lost, you cannot relog onto the server. The REDIR program
remembers that you have previously logged on and will not allow a duplicate
connection to be made. Therefore, it is necessary to use the MARKNET/RELENT
utilities to enable to unloading and reloading of REDIR in memory. The LANBIOS
program is not touched as it has no bearing on network logins. Likewise it is
necessary to reMARKNET the REDIR in the restart.bat file so that in the event
of another server connect loss, the REDIR can once more be dumped from memory
and then reloaded. The net login statments must be reissued once the REDIR is
reloaded. The drive substitution commands do not have to be reissued as DOS
stores that in an area of memory that is not touched when the RELENT dumps the
REDIR.EXE file.
You will note that the MARKNET and RELNET have parms passed to them. The
parms point to a very small file that must be located on your local hard drive
to insure correct operation. The file contains info about the system setup
so that correct system interupts, DOS memory chains, and COM port parms can be
reset once the REDIR is released from memory. PC Board is not affected by all
of this process as it has properly exited from memory prior to invoking the
reconnect sequence.
You will notice that my board.bat file sets certain DOS enviourment
variables. This is to insure that no untoward second party software can
permenently alter the envioutment. The board.bat resets the enviourment
each time it reloads. You do not have to do this, as DOS also stores that
in an area of memory that is unaffected by the RELNET/MARKNET utilities.
This is just my personal insurance for the BBS.
If you have any questions, I will try and answer them as best I can. You
can leave me mail on Salt Air or call me at my BBS. I will leave the number
for it below. I hope that this will help you out if you are experiencing
network disconnect problems. If you can improve in this, please do so.
Remember, I have kept this as simple as possible to everyone will be able
to adapt it to their system.
My system configuration uses the server drive of D: and E: and I redirect
the workstation drive letters. This works best for my setup but may not for
you. As I stated earlier, substitute the proper drive letters in the batch
files so as to match your system setup. I also use embedded SCSI drives and
the host card on the server takes a very long time to complete a reboot
sequence. I purposely rebooted the server while the workstation was trying to
reestablish a link.....the batch file will recycle until the server comes back
online, and then the link will be made. The time factor for a workstation to
reconnect to the network is about 6 seconds on my system. Your time may be
faster or slower depending on your workstation clock speed.
Well, here it is. Let me know if this is worth the effort to set it
up on your system.
My BBS number is (415)-895-6159 and is V-9600. It is also PCP-able and
StarLinkable........
Larry Hargrove
SysOp
Pro-Net
BBS